﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace FileDFS.Utils.PathConfig
{
    public class PathOption : ConfigurationElement
    {
        [ConfigurationProperty("key", IsRequired = true)]
        public string Key
        {
            get { return this["key"].ToString(); }
            set { this["key"] = value; }
        }

        [ConfigurationProperty("virtualPath", IsRequired = true)]
        public string VirtualPath
        {
            get { return this["virtualPath"].ToString(); }
            set { this["virtualPath"] = value; }
        }

        [ConfigurationProperty("absoluteDriver", IsRequired = true)]
        public string AbsoluteDriver
        {
            get { return this["absoluteDriver"].ToString(); }
            set { this["absoluteDriver"] = value; }
        }
        [ConfigurationProperty("absolutePath", IsRequired = true)]
        public string AbsolutePath
        {
            get { return this["absolutePath"].ToString(); }
            set { this["absolutePath"] = value; }
        }
    }
}
